package com.aibaixun.system.mapper;

import com.aibaixun.system.domain.DicmAddress;
import com.aibaixun.system.domain.vo.QueryDeviceTreeVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author zhangyh
* @description 针对表【dicm_address(地址信息表)】的数据库操作Mapper
* @createDate 2023-09-14 10:17:44
* @Entity com.aibaixun.system.domain.DicmAddress
*/
public interface DicmAddressMapper extends BaseMapper<DicmAddress> {

    List<String> queryAddressIdList();

    List<QueryDeviceTreeVo> queryAddressList(@Param("query") DicmAddress query);

    List<DicmAddress> queryAddressaIdByAddressId(@Param("addressId") String addressId);

    Long countPostureDevice(@Param("ueId") String ueId);

    Long countDicmNvr(@Param("ueId") String ueId);

    Long countDicmDevice(@Param("ueId") String ueId);

    Long countDicmCabinet(@Param("ueId") String ueId);
}




